.dashboard {
	position: relative;
	.item-container {
		width: 100%;
		.title {
			display: flex;
			align-items: center;
			height: 36px;
			padding-left: 20px;
			font-size: 15px;
			font-weight: 700;
			color: #ffffff;
			text-align: left;
			background: url("@/assets/images/dashboard/title-bg.png");
			background-repeat: no-repeat;
			background-position: center;
			background-size: 100% 100%;
		}
		.body {
			box-sizing: border-box;
			.category {
				color: #ffffff;
				.item {
					display: flex;
					align-items: center;
					min-width: 130px;
					padding-bottom: 15px;
					.item-icon {
						position: relative;
						width: 46px;
						height: 46px;
						background: url("@/assets/images/dashboard/110.png");
						background-repeat: no-repeat;
						background-position: center;
						background-size: 100% 100%;
						scale: 0.85;
						.text {
							position: absolute;
							right: -6px;
							bottom: 5px;
							z-index: 0;
							font-size: 12px;
							font-weight: 700;
							color: #10cccf;
						}
					}
					.item-info {
						padding-left: 10px;
						.val {
							.val-text {
								font-size: 20px;
								font-weight: 400;
								color: #31fcff;
								text-align: left;
							}
							.val-unit {
								padding-left: 2px;
								font-size: 14px;
								font-weight: 400;
								color: #bad9ff;
								text-align: left;
							}
						}
					}
					&.year .item-icon {
						background: url("@/assets/images/dashboard/year.png");
					}
					&.month .item-icon {
						background: url("@/assets/images/dashboard/month.png");
					}
					&.day .item-icon {
						background: url("@/assets/images/dashboard/day.png");
					}
				}
			}
			.time-type {
				.item {
					display: grid;
					align-items: center;
					height: 25px;
					padding: 0 10px;
					margin-right: 1px;
					font-size: 12px;
					text-align: center;
					cursor: pointer;
					background: linear-gradient(180deg, #0b5f6433 0%, #0b5f64 100%);
					&.active,
					&:hover {
						background: url("@/assets/images/dashboard/active-bg.png");
						background-repeat: no-repeat;
						background-position: center;
						background-size: 100% 100%;
					}
				}
			}
			.right-chart {
				.chart-container {
					height: calc(100% - 30px);
					opacity: 0.9;
				}
			}
		}
	}
	> .left {
		position: absolute;
		top: 50px;
		bottom: 10px;
		left: 10px;
		width: 25%;

		// min-width: 380px;
		background: #01151968;
		.left-basic {
			box-sizing: border-box;
			height: 240px;
			.body {
				padding: 15px 0 5px 15px;
			}
			.category {
				opacity: 0.9;
			}
		}
		.left-ranking {
			box-sizing: border-box;
			height: calc(100% - 45% - 240px);
			padding: 10px 15px;
			.title {
				height: 11px;
				background: url("@/assets/images/dashboard/title-bg-2.png");
				background-repeat: no-repeat;
				background-position: center;
				background-size: 100% 100%;
				.text {
					margin-left: -10px;
				}
			}
			.body {
				height: 100%;
				padding: 15px 0;
				.chart-container {
					height: 100%;
					opacity: 0.9;
				}
			}
		}
		.left-analysis {
			box-sizing: border-box;
			height: 45%;
			.time-type {
				justify-content: left;
			}
			.chart-container {
				box-sizing: border-box;
				height: calc(100% - 30px);
				.chart-top {
					display: flex;
					align-items: center;
					height: 100%;
					.chart-left {
						position: relative;
						display: flex;
						align-items: center;
						height: 80%;
						.chart-bg {
							position: absolute;
							left: 50%;
							z-index: 0;
							width: 110px;
							height: 90px;
							background: url("@/assets/images/dashboard/chart-pie-bg.png");
							background-repeat: no-repeat;
							background-position: center;
							background-size: 100% 100%;
							transform: translateX(-50%);
							.pie-ext-text {
								position: relative;
								display: flex;
								align-items: center;
								justify-content: center;
								width: 100%;
								height: 100%;
								.value {
									font-size: 20px;
									color: #31fcff;
								}
							}
						}
						.chart-p {
							position: absolute;
							left: 50%;
							width: 150px;
							height: 100%;
							background-size: 100% 100%;
							transform: translateX(-50%);
						}
						.base-chart-comp {
							display: flex;
							align-items: center;
							justify-content: center;
						}
					}
					.chart-right {
						padding-right: 16px;
						opacity: 0.7;
						.item {
							display: flex;
							justify-content: space-between;
							font-size: 13px;
							line-height: 30px;
							.item-label {
								display: flex;
								align-items: center;
								text-align: left;
								.legend {
									width: 12px;
									height: 12px;
									margin-right: 10px;
								}
							}
							.item-value {
								// padding-right: 50px;
							}
						}
					}
				}
			}
		}
	}
	> .center-top {
		position: absolute;
		top: 70px;
		right: 35%;
		left: 50%;
		width: 30%;
		padding: 15px 50px;
		background: linear-gradient(270deg, #07102100 0%, #071021 50.2%, #07102100 100%);
		transform: translateX(-47%);
		.device-total {
			display: flex;
			justify-content: space-between;
			width: 100%;
			.item {
				display: flex;
				.item-icon {
					width: 45px;
					height: 45px;
					background: url("@/assets/images/dashboard/dev-1.png");
					background-repeat: no-repeat;
					background-position: center;
					background-size: 100% 100%;
				}
				.item-icon.dev-1 {
					background: url("@/assets/images/dashboard/dev-1.png");
				}
				.item-icon.dev-2 {
					background: url("@/assets/images/dashboard/dev-2.png");
				}
				.item-icon.dev-3 {
					background: url("@/assets/images/dashboard/dev-3.png");
				}
				.item-info {
					padding-left: 15px;
					.label {
						opacity: 0.9;
					}
					.value {
						font-size: 20px;
						font-weight: 600;
						color: #31fcff;
					}
				}
			}
		}
	}
	> .center-bottom {
		position: absolute;
		bottom: 10px;
		left: 50%;
		z-index: 9;
		width: 48%;
		height: 23%;
		background: #01151968;
		transform: translateX(-48%);
		.chart-container {
			height: calc(100% - 45px);
		}
		.inout-total {
			position: absolute;
			top: 38px;
			right: 20px;
			z-index: 9;
			display: flex;
			.item {
				margin-left: 30px;
				font-size: 18px;
				font-weight: 700;
				color: #10cccf;
				text-align: center;
				.label,
				.unit {
					font-size: 12px;
					color: #bad9ff;
				}
			}
		}
	}
	> .right {
		position: absolute;
		top: 50px;
		right: 10px;
		bottom: 10px;
		box-sizing: border-box;
		width: 23%;
		.right-video {
			height: 28%;
			background: #01151968;
		}
		.right-event {
			box-sizing: border-box;
			height: calc(72% - 10px);
			margin-top: 10px;
			font-size: 13px;
			background: #01151968;
			.data-list {
				padding: 5px 0;
				opacity: 0.8;
				.event-item {
					align-items: center;
					height: 25px;
					cursor: pointer;
					border-bottom: #0b5f64;
					&:hover {
						background-color: #0b5f6490;
					}
					.text {
						padding-left: 10px;
					}
					.time {
						width: 145px;
						font-size: 12px;
					}
					.event-tag {
						width: 60px;
						padding: 2px 10px;
						overflow: hidden;
						font-size: 12px;
						color: #ffffff;
						text-align: center;
						text-overflow: ellipsis;
						white-space: nowrap;
						background: #0070cc50;
						border: 1px solid #0070cc;
						border-radius: 4px;
						&.ai {
							// background: #0070cc50;
							background: #0ce3e650;
							border: 1px solid #0070cc;
						}
						&.login {
							background: #00800090;
							border: 1px solid #008000;
						}
						&.logout {
							color: #cccccc;
							background: #77777790;
							border: 1px solid #777777;
						}
						&.alarm {
							background-color: #ffa50050;
							border: 1px solid #ffa500;
						}
					}
				}
			}
		}
	}
}
.hdds {
	color: #ffffff;
	background-color: #060f1e;
	.hdds-bg {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 80%;
		height: 83%;
		background-image: url("@/assets/images/dashboard/hdds-bg.png");
		background-repeat: no-repeat;
		background-position: bottom center;
		background-size: 100% 100%;
		transform: translate(-50%, -53%);
	}
}
